import React from 'react';
import { LocaleProvider } from 'antd'
import zhCN from 'antd/lib/locale-provider/zh_CN'
import withRouter from 'umi/withRouter'
import styles from './index.css';


export default withRouter((props) => {
  return (
    <LocaleProvider locale={zhCN}>
      <div className={styles.normal}>
        <h1 className={styles.title}>Yay! Welcome to umi!</h1>
        {props.children}
      </div>
    </LocaleProvider>
  )
})
